package com.tql.mall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tql.mall.model.merchant.Merchant;
import com.tql.mall.model.merchant.MerchantLoginDto;
import com.tql.mall.model.merchant.MerchantLoginVo;
import com.tql.mall.model.merchant.MerchantRegisterVo;

public interface MerchantService extends IService<Merchant> {
    String register(MerchantRegisterVo merchantRegisterVo);

    MerchantLoginDto login(MerchantLoginVo merchantLoginVo);

    Boolean uploadAuthInfo(Merchant merchant);

    Boolean updateStatus(Long id, Integer status);

    Boolean updateAuthStatus(Long id, Integer authStatus);
}
